package com.zzyl.dto;

import com.zzyl.base.BaseDto;
import com.zzyl.entity.NursingPlan;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 护理计划数据传输对象
 */
@Data
@ApiModel(value = "护理计划传输", description = "护理计划信息")
public class NursingPlanDto {

    @ApiModelProperty(value = "计划id")
    private int id;

    @ApiModelProperty(value = "护理计划的名称", required = true, example = "日常护理")
    private String planName;

    @ApiModelProperty(value = "护理项目")
    private List<NursingPlanDto> projectPlans;

    @ApiModelProperty(value = "排序号", example = "1")
    private Integer sortNo;

    @ApiModelProperty(value = "服务时间", example = "09:00 - 10:00")
    private String serviceTime;

    @ApiModelProperty(value = "执行周期", example = "每周")
    private String executeCycle;

    @ApiModelProperty(value = "执行频次", example = "每日")
    private String executeFrequency;

    @ApiModelProperty(value = "计划执行时间", example = "2024-09-01T10:00:00Z")
    private String executeTime;

    @ApiModelProperty(value = "计划id",example = "0")
    private Long planId;

    @ApiModelProperty(value = "项目id",example = "0")
    private Long projectId;

    @ApiModelProperty(value = "当前页码")
    private int pageNum;

    @ApiModelProperty(value = "每页显示条数")
    private int pageSize;

    @ApiModelProperty(value = "状态", allowableValues = "DRAFT, ACTIVE, INACTIVE", example = "ACTIVE")
    private String status;

}